package net.tycmc.cty.ctyms.timejob.iems.job;

import net.tycmc.cty.ctyms.timejob.common.DateControl;
import net.tycmc.cty.ctyms.timejob.iems.service.AllScanService;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

/**
 * @author songxiaohu
 *未采集到参数集合
 */
public class AllScanJob extends QuartzJobBean{
	private AllScanService ass;


	public AllScanService getAss() {
		return ass;
	}


	public void setAss(AllScanService ass) {
		this.ass = ass;
	}


	@Override
	protected void executeInternal(JobExecutionContext arg0)
			throws JobExecutionException {
		// TODO Auto-generated method stub
		System.out.println("---------------------运营总览统计作业开始------------------------------"+DateControl.getDateTime(0));
		ass.startWork();
		System.out.println("---------------------运营总览统计作业结束------------------------------"+DateControl.getDateTime(0));
	}
	
}
